package com.yunshang.shoppingmall.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

public class UserNo implements Serializable {
    private Integer id;

    private String userNo;

    private String pwd;

    private String name;

    private Integer userId;

    private Integer rank;
    private Integer hsrank;

    public Integer getHsrank() {
        return hsrank;
    }

    public void setHsrank(Integer hsrank) {
        this.hsrank = hsrank;
    }

    private Timestamp registerTime;

    private Integer recommend;

    private Integer angel;

    private Integer sort;

    private String salt;

    private String payPwd;

    private String phone;
    private double orderOpratorcost;//业绩
    private double weekOpratorcost; //   用户周业绩
    private double monthOpratorcost;//用户月业绩
    private int agent;//代理，返点

    private String openid;
    private String ghid;

    private Integer sum;

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getGhid() {
        return ghid;
    }

    public void setGhid(String ghid) {
        this.ghid = ghid;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    public int getAgent() {
        return agent;
    }

    public void setAgent(int agent) {
        this.agent = agent;
    }

    public double getWeekOpratorcost() {
        return weekOpratorcost;
    }

    public void setWeekOpratorcost(double weekOpratorcost) {
        this.weekOpratorcost = weekOpratorcost;
    }

    public double getMonthOpratorcost() {
        return monthOpratorcost;
    }

    public void setMonthOpratorcost(double monthOpratorcost) {
        this.monthOpratorcost = monthOpratorcost;
    }

    public double getOrderOpratorcost() {
        return orderOpratorcost;
    }

    public void setOrderOpratorcost(double orderOpratorcost) {
        this.orderOpratorcost = orderOpratorcost;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo == null ? null : userNo.trim();
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd == null ? null : pwd.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Timestamp getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Timestamp registerTime) {
        this.registerTime = registerTime;
    }

    public Integer getRecommend() {
        return recommend;
    }

    public void setRecommend(Integer recommend) {
        this.recommend = recommend;
    }

    public Integer getAngel() {
        return angel;
    }

    public void setAngel(Integer angel) {
        this.angel = angel;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public String getPayPwd() {
        return payPwd;
    }

    public void setPayPwd(String payPwd) {
        this.payPwd = payPwd == null ? null : payPwd.trim();
    }

    @Override
    public String toString() {
        return "UserNo{" +
                "id=" + id +
                ", userNo='" + userNo + '\'' +
                ", pwd='" + pwd + '\'' +
                ", name='" + name + '\'' +
                ", userId=" + userId +
                ", rank=" + rank +
                ", hsrank=" + hsrank +
                ", registerTime=" + registerTime +
                ", recommend=" + recommend +
                ", angel=" + angel +
                ", sort=" + sort +
                ", salt='" + salt + '\'' +
                ", payPwd='" + payPwd + '\'' +
                ", phone='" + phone + '\'' +
                ", orderOpratorcost=" + orderOpratorcost +
                ", weekOpratorcost=" + weekOpratorcost +
                ", monthOpratorcost=" + monthOpratorcost +
                ", agent=" + agent +
                '}';
    }
}